home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / scope / 101-125 / scopedisk109 / ms-dos / src / makefile < prev    next >
Makefile  |  1995-03-19  |  2KB  |  64 lines

  1. # $Id: Makefile,v 1.5 90/02/10 22:38:29 Rhialto Exp $
  2. #
  3. # Makefile for messydos file system handler and -device, for use with the
  4. # Manx C compiler version 3.6.
  5. #
  6. # This code is (C) Copyright 1989,1990 by Olaf Seibert. All rights reserved.
  7. # May not be used or copied without a licence.
  8.  
  9. HOBJ = pack.o support.o hanmain.o hansec.o hanlock.o hanfile.o hanreq.o date.o
  10. HSRC = pack.c support.c hanmain.c hansec.c hanlock.c hanfile.c hanreq.c date.c \
  11.        dos.h han.h
  12. DOBJ = device.o devio.o
  13. DSRC = device.c devio.c dev.h device.h
  14. XSRC = messyfmt.c Makefile
  15. #DB =   -DDEBUG
  16. #WACK =  -W
  17.  
  18. #   Options: large code, large data, no startup code, use A4
  19. .c.o:
  20.        cc +Iamiga.syms +cdbrx3,5 $(DB) $*.c -o $@
  21.  
  22. all:   msh messydisk.device
  23. utils: die ignore messyfmt
  24. doc:   dev.man msh.man
  25.  
  26. messydisk.device: $(DOBJ)
  27.        ln -o $@ $(WACK) $(DOBJ) -lcl
  28.  
  29. msh:   $(HOBJ)
  30.        ln -o $@ $(WACK) $(HOBJ) -lcl
  31.  
  32. die:   die.c
  33.        cc +Iamiga.syms +x3,5 die.c
  34.        ln die.o -lcl
  35.  
  36. ignore: ignore.c dev.h device.h
  37.        cc +Iamiga.syms +x3,5 ignore.c
  38.        ln ignore.o -lcl
  39.  
  40. messyfmt: messyfmt.c dev.h device.h han.h
  41.        cc +Iamiga.syms +x3,5 messyfmt.c
  42.        ln messyfmt.o -lcl
  43.  
  44. dev.man: dev.n
  45.        nro dev.n >dev.man
  46.  
  47. msh.man: msh.n
  48.        nro msh.n >msh.man
  49.  
  50. ci:
  51.        RCS:ci -u $(HSRC) $(DSRC) $(XSRC)
  52.  
  53. co:
  54.        RCS:co -l $(HSRC) $(DSRC) $(XSRC)
  55.  
  56. device.o: dev.h device.h
  57. devio.o: dev.h device.h
  58. hanmain.o: han.h dev.h
  59. hansec.o: han.h dev.h
  60. hanlock.o: dos.h han.h dev.h
  61. hanfile.o: dos.h han.h dev.h
  62. support.o: dos.h
  63. pack.o: dos.h han.h dev.h
  64.